
import MidRouterView from "@/components/MidRouterView.vue";

const routes = {
  path: "/personCenter",
  redirect: "/personCenter/user_info",
  component: MidRouterView,
  children: [
    {
      path: "testJssdk",
      name: "testJssdk",
      meta: {
        title: "jssdk demo",
      },
      component: () => import("@/views/test/jssdk.vue"),
    },
    {
      path: "user_info",
      name: "userInfo",
      meta: {
        title: "基本信息",
      },
      component: () => import("@/views/personCenter/user_info.vue"),
    },
    {
      path: "edit_password",
      name: "editPassword",
      meta: {
        title: "修改密码",
      },
      component: () => import("@/views/personCenter/edit_password.vue"),
    }
  ],
};

export default routes;
